<?php
namespace app\oa\model;

use think\Model;

class Task extends Model {
    protected $name = 'oa_task';
    protected $autoWriteTimestamp = true;
    protected $updateTime = false;
    public function files() {
        return $this->hasMany("File", "task_id");
    }
}